package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.math.BigInteger;
import java.util.List;

/**
 * 孙子获取
 */
@FieldTypeAnnotation(tableName = "t_l_ck_grand_child_birth", desc = "孙子获取日志", autoSave = true, uploadCk = true)
public class LogGrandChildBirth extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "孙子ID")
    private String id;
    @FieldTypeAnnotation(desc = "基础资质")
    private int baseQuality;
    @FieldTypeAnnotation(desc = "基础天资")
    private List<Integer> baseFlairList;
    @FieldTypeAnnotation(desc = "可选天赋")
    private List<Integer> optionalTalentList;

    @FieldTypeAnnotation(desc = "父母品质")
    private int motherQua;
    @FieldTypeAnnotation(desc = "父母品质")
    private int partnerQua;
    @FieldTypeAnnotation(desc = "父母赚速")
    private BigInteger motherEarnSpeed;
    @FieldTypeAnnotation(desc = "父母赚速")
    private BigInteger partnerEarnSpeed;
    @FieldTypeAnnotation(desc = "联姻赚速")
    private BigInteger marriageEarnSpeed;

    public LogGrandChildBirth(long userId, String id, int baseQuality, List<Integer> baseFlairList, List<Integer> optionalTalentList,
                              int motherQua, int partnerQua, BigInteger motherEarnSpeed, BigInteger partnerEarnSpeed, BigInteger marriageEarnSpeed) {
        this.userId = userId;
        this.id = id;
        this.baseQuality = baseQuality;
        this.baseFlairList = baseFlairList;
        this.optionalTalentList = optionalTalentList;
        this.motherQua = motherQua;
        this.partnerQua = partnerQua;
        this.motherEarnSpeed = motherEarnSpeed;
        this.partnerEarnSpeed = partnerEarnSpeed;
        this.marriageEarnSpeed = marriageEarnSpeed;
    }

    public long getUserId() {
        return userId;
    }

}
